package com.yidi.common.core.page;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：Xn
 * @ClassName: MyPage
 * @date ：2021-10-18 14:15
 * @describe ：自定义分页
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyPage<T> implements Serializable{

	/** 
	* @Fields serialVersionUID : TODO() 
	*/ 
	private static final long serialVersionUID = 1L;
	
	private Integer number;
	
	private Integer totalPages;
	
	private List<T> content;
	
	private Pageable pageable;
	
	private String count;
	
	private Integer totalElements;

}
